﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MQTTServer.Model
{
    /// <summary>
    /// 客户集合
    /// </summary>
    public class ClientListModel
    {
        private List<ClientPayloadDataModel> clist = new List<ClientPayloadDataModel>();
        private Dictionary<string, ClientPayloadDataModel> updClientList = new Dictionary<string, ClientPayloadDataModel>();
      /// <summary>
      /// MQTT客户端集合  
      /// </summary>
        public List<ClientPayloadDataModel> ClientList
        {
            get { return clist; }
            set { clist = value; }
        }
        /// <summary>
        /// UDP客户端集合 键为客户名称 值为客户对象
        /// </summary>
        public Dictionary<string, ClientPayloadDataModel> UDPClientList
        {
            get { return updClientList; }
            set { updClientList = value; }
        }
    }
}
